Skip to main content

mergAVCamGet

Type

function

Summary

Get the current property of the camera control

Syntax

mergAVCamGet(<pProp>)

Description

Get the current property of the camera control

Parameters

NameTypeDescription

pProp

the property to return which will be one of:

  • rect : the rect of the control

  • visible : the visible of the control

  • quality : the quality of the camera which will be one of:

    • photo
    • high
    • medium
    • low
    • 352x288
    • 640x480
    • iFrame960x540
    • 1280x720
    • iFrame1280x720. The camera defaults to high.
  • camera : one of:

    • rear camera
    • front camera. The camera defaults to rear. You may use a device id as returned by video devices or muxed devices.
  • microphone : This will be a device id as returned by audio devices.

  • flash : one of:

    • on
    • off
    • auto. The camera defaults to auto.
  • torch : one of:

    • on
    • off
    • auto. The camera defaults to auto.
  • video devices : a tab delimited list of video devices with the first item the device id and the second a device name (read only).

  • audio devices : a tab delimited list of audio devices with the first item the device id and the second a device name (read only).

  • muxed devices : a tab delimited list of audio devices with the first item the device id and the second a device name (read only).

  • exposure mode : one of: locked

    • auto - the device automatically adjusts the exposure once and then changes the exposure mode to locked.
    • continuous. If set to auto - the device continuously monitors exposure levels and auto exposes when necessary.
  • white balance mode : one of: locked

    • auto - the device automatically adjusts the white balnce once and then changes the white balnce mode to locked.
    • continuous. If set to auto - the device continuously monitors white balnce levels and adjusts when necessary.
  • max frame rate : a frame rate in frames per second

  • min frame rate : a frame rate in frames per second

  • zoom : (iOS only) a number between 1.0 and the max zoom

  • max zoom : (iOS only) the maximum the video can be zoomed (read only)

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?